package org.cinvestav.computacion.matias.onlyangel.j3d;
import javax.media.j3d.Appearance;
import javax.media.j3d.BranchGroup;
import javax.media.j3d.ColoringAttributes;
import javax.vecmath.Color3f;

import com.sun.j3d.utils.geometry.Sphere;

public class Robot extends BranchGroup {
	public Robot(int i){
		Appearance apr = new Appearance();
		apr.setColoringAttributes(new ColoringAttributes(new Color3f(0,i==0?1:0,i==0?0:1),ColoringAttributes.NICEST));
		addChild(new Sphere(0.1f,apr));
//		addChild(new Box(1f,1f,0.01f,apr));
	}
}
